package com.agile.major.service;

import com.agile.major.domain.BaseStudentInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Map;

/**
 * Service Interface for managing BaseStudentInfo.
 */
public interface BaseStudentInfoService {

    /**
     * Save a baseStudentInfo.
     *
     * @param baseStudentInfo the entity to save
     * @return the persisted entity
     */
    BaseStudentInfo save(BaseStudentInfo baseStudentInfo);

    /**
     *  Get all the baseStudentInfos.
     *
     *  @param pageable the pagination information
     *  @return the list of entities
     */
    Page<BaseStudentInfo> findAll(Pageable pageable);

    /**
     *  Get the "id" baseStudentInfo.
     *
     *  @param id the id of the entity
     *  @return the entity
     */
    BaseStudentInfo findOne(Long id);

    /**
     *  Delete the "id" baseStudentInfo.
     *
     *  @param id the id of the entity
     */
    void delete(Long id);

    Map getStuCount(Long baseMajorId, String overYear);
}
